﻿.sidebar {
    display: flex;
    flex-direction: column;
    flex: 0 0 350px;
    height: 100%;
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

@media ( max-width: 640px) {
    .sidebar {
        width: 350px;
        position: sticky;
        top: 0;
    }
}